package exam.xiaozuduikang.exam2019;

public class MakerHanbuger extends Hanbuger{
    public MakerHanbuger(String HanbugerName, String mainbao, String rouxian, String shucai,String baozhuang) {
        super(HanbugerName, mainbao, rouxian, shucai,baozhuang);
    }

    @Override
    public void chooseMianBao() {
        System.out.println("面包类型为："+mainbao);
    }

    @Override
    public void chooseRouxian() {
        System.out.println("肉馅类型为："+rouxian);
    }

    @Override
    public void chooseShucai() {
        System.out.println("蔬菜类型为："+shucai);
    }

    @Override
    public void miambaoJiaRou() {
        System.out.println(mainbao+"夹："+rouxian+","+shucai);
    }

    @Override
    public void chooseBaoZhuang() {
        System.out.println("包装类型为："+baozhuang);
    }
}
